package diamondRingService;

import diamondRingEntity.Collection;
import diamondRingEntity.Order;
import diamondRingEntity.OrderGoods;

import java.util.List;

public interface OrderService {
    //新增订单
    int orderInsert(Order order);
    //新增订单小项
    int orderGoodsInsert(OrderGoods orderGoods);
    //查询订单id
    int orderFindId(String orderNumber);
    //查询订单是否支付
    int orderState(int goodsId,int userid);
    //查询所有订单
    List<Order> orderFind(int userid);
    //查看订单信息
    List<Order> orderInformation(String orderNumber);
    //取消订单
    int orderCancel(int id);

}
